package cn.dankal.flyaudio.contract;

import com.hp.hpl.sparta.xpath.Step;

import java.util.List;

import cn.dankal.basiclib.base.BasePresenter;
import cn.dankal.basiclib.base.BaseView;
import cn.dankal.basiclib.pojo.AddressEntity;
import cn.dankal.basiclib.pojo.CreateOrderPreviewEntity;
import cn.dankal.basiclib.pojo.req.CreateOrderReq;

public interface ConfirmOrderContract {

    interface Presenter extends BasePresenter<ConfirmOrderContract.View> {

        void getMyAddress();

        void createOrder(CreateOrderReq req,int payMethod);

        void createOrderPreview(CreateOrderReq req);

        void wechatPay(String uuid);

        void alipay(String uuid);

    }


    interface View extends BaseView {

        void handleAddressList(List<AddressEntity> addressEntities);

        void handlePreview(CreateOrderPreviewEntity entity);
    }
}
